<?php
defined( '_VALID_MOS' ) or die( 'Restricted access' );

class mosMedia_db extends mosDBTable {

	var $id 				= null;
	var $gruppe 				= '';
	var $titel				= '';
	var $address			= '';
	var $direction			= '';
	var $comment			= '';
	var $date				= null;
	var $checked_out		= 0;
	var $checked_out_time	= 0;
	
	function mosMedia_db( &$_db ) {
		$this->mosDBTable( '#__mediadb', 'id', $_db );
	}


// get settings
function getConfig( $option='com_media_db') {
/*			global $database, $gb_params;
	
		$query = "SELECT a.id
					FROM #__components AS a
					WHERE a.name = 'guestbook'";
		$database->setQuery( $query );
		$id = $database->loadResult();
	
		// load the row from the db table
		$row = new mosComponent( $database );
		$row->load( $id );
	
		// get params definitions
		$GLOBALS['gb_params'] = $gb_params = new mosParameters( $row->params );
		return $gb_params ;
*/	}

}

?>